﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Strategy.Calculation;

namespace DesignPatternsC
{
    public class StrategyTest1
    {
        public static void Client() {


            string operate = "-";
            AbstractCalculation calculation = SimpleFactory.CreateCalculation(operate);

            Console.Write(new Context(12,23,calculation).Action());

        }
    }
}
